package main

import (
	"fmt"
)

var NAME string = "majun2"

//goto案例
func main() {
	fmt.Println(NAME)
	if NAME == "majun" {
		return
	}
	goto label1
	fmt.Println("2")
	fmt.Println("3")
	fmt.Println("4")
label1:
	fmt.Println("a")
	fmt.Println("b")
}
